Type alias: MutationLike<TRoot, TProcedure>
MutationLike: <
TRoot
,TProcedure
>object
Use to describe a mutation route which matches a given mutation procedure's interface
Type parameters
Parameter |
---|
TRoot extends AnyRootTypes |
TProcedure extends AnyProcedure |
Type declaration
useMutation
useMutation: (opts
?) => InferMutationResult
< TRoot
, TProcedure
>
Parameters
Parameter | Type |
---|---|
opts ? | InferMutationOptions < TRoot , TProcedure > |
Returns
InferMutationResult
< TRoot
, TProcedure
>
Source
packages/react-query/src/shared/polymorphism/mutationLike.ts:15
Generated using TypeDoc and typedoc-plugin-markdown